package cn.map.linkedhashmap;

public class User{
    private int id;
    private String name;
    private String note;


    public User() {
    }

    public User(int id, String name, String note) {
        this.id = id;
        this.name = name;
        this.note = note;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return note
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置
     * @param note
     */
    public void setNote(String note) {
        this.note = note;
    }

    public String toString() {
        return "User{id = " + id + ", name = " + name + ", note = " + note + "}";
    }
}
